<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<link rel="stylesheet" type="text/css" href="../../css/style.css" />
		<link rel="stylesheet" type="text/css" href="../../css/demo.css" />
		<script src="../../js/demo.js" type="text/javascript" charset="utf-8"></script>
		<title>开店</title>
	</head>
	<body>
		<!--header-->
		<div class="header">
			<div class="header-content">
				<ul class="nav left">
					<li><img src="../../img/regist-arrow.png" /></li>
					<li class="nav-one">
						<a href="javascript:history.go(-1);">返回</a>
					</li>
					<li class="nav-two">
						<a href="../../">关闭</a>
					</li>
				</ul>
				<p class="left">侨盟小店</p>
				<div class="right nav_right">
					<img src="../../img/regist-list.png" />
				</div>
			</div>
		</div>
		<!--main-->
		<div class="main clear" style="margin-bottom: 1.15rem;">
			<div class="shopopen">
				<div class="shopopenlist">
					<img class="left" src="../../imgs/shopuser-icon.png" alt="" id="i1"/>
					<ul class="shopopenlist-m left">
						<li id="li1">侨盟店铺0000的小店</li>
						<li id="li2"><img src="../../img/shopopen-icon15.png"/>未知地址</li>
					</ul>
					<img class="right" src="../../img/shopopen-icon14.png"/>
				</div>
			</div>
			<div class="shopopen2">
				<div class="shopopenlist2">
					<p>累计佣金收入（元）：<span id="s1">￥500.98</span></p>
					<p>可提现佣金（元）：<span style="color: #f84e37;" id="s2">￥500.98</span></p>
					<p>提现中（元）：<span>￥0</span></p>
				</div>
			</div>
			<div class="shopopen3">
				<ul class="shopopenlist3">
					<li>
						<div class="" id="d1">
							500.99<br /><span>本月收入</span>
						</div>
					</li>
					<li>
						<div class="" id="d2">
						    500<br /><span>本月销量</span>
						</div>
					</li>
					<li>
						<div class="" style="border-right: 0;">
						    500<br /><span>今日访客</span>
						</div>
					</li>
				</ul>
			</div>
			<div class="shopopen4">
				<table border="1" class="shoptbd">
					<caption><span onclick="location='../../html/product/productadd.html'"><img src="../../img/shopopen-icon.png"/>添加商品</span>
					&nbsp;&nbsp;&nbsp;&nbsp;<span onclick="location='shopaccount.html'"><img src="../../img/shopopen-icon.png"/>批量处理</span>
					</caption>
					<tbody>
						<tr>
							<td onclick="location='../../html/selfcenter/self-commistion.html';">
								<img src="../../img/shopopen-icon2.png"/>
								<br />
							          佣金提现
							</td>
							<td onclick="location='shopmanagement.html';">
								<img src="../../img/shopopen-icon3.png"/>
								<br />     
							         商品管理
							</td>
							<td onclick="location='../../html/selfcenter/selfcenter-manage.html';">
								<img src="../../img/shopopen-icon4.png"/>
								<br />
							         订单管理
							</td>
							<td>
								<img src="../../img/shopopen-icon5.png"/>
								<br />
								邀请合伙人
							</td>
						</tr>
						<tr>
							<td onclick="location='shopseting.html';">
								<img src="../../img/shopopen-icon9.png"/>
								<br />
							          店铺管理
							</td>
							<td>
								<img src="../../img/shopopen-icon8.png"/>
								<br />
								分销管理
							</td>
							<td>
								<img src="../../img/shopopen-icon7.png"/>
								<br />
								客户管理
							</td>
							<td>
								<img src="../../img/shopopen-icon6.png"/>
								<br />
								销售统计
							</td>
						</tr>
						<tr>
							<td>
								<img src="../../img/shopopen-icon10.png"/>
								<br />
								推广二维码
							</td>
							<td>
								<img src="../../img/shopopen-icon11.png"/>
								<br />
								银行卡
							</td>
							<td>
								<img src="../../img/shopopen-icon12.png"/>
								<br />
								敬请期待
							</td>
						</tr>
					</tbody>
				</table>
				<div class="cash-money">
					<img src="../../img/shopopen-icon13.png"/>
				</div>
			</div>
			<div class="shopopen5">
				
			</div>
		</div>
		<div class="footer2">
			<ul class="nav-foot2">
				<li>
					<a href="../../"><img src="../../img/shopopen-icon16.png" style="width: 0.33rem;height: 0.42rem;margin-left: 0.08rem;"/>
				        <br /><span>首页</span>
				    </a>
				</li>
				<li>
					<a href="javascript:;"><img src="../../img/shopopen-icon17.png" style="width: 0.44rem;height: 0.42rem;margin-left: 0.06rem;"/>
					    <br /><span style="color: #f84e37;">开店</span>
					</a>
				</li>
				<li>
					<a href="../../html/divide/devide.html"><img src="../../img/shopopen-icon18.png" style="width: 0.42rem;height: 0.42rem;margin-left: 0.08rem;"/>
					    <br /><span >分类</span>
					</a>
				</li>
				<li>
					<a href="../../html/selfcenter/distribution.html"><img src="../../img/shopopen-icon19.png" style="width: 0.4rem;height: 0.42rem;margin-left: 0.08rem;"/>
					    <br /><span>我的</span>
					</a>
				</li>
			</ul>
		</div>
		<script src="../../js/jquery-3.2.1.min.js" type="text/javascript"
		charset="utf-8"></script>
		<script type="text/javascript">
		//shopOpen页面，需要shopUrl,shopName,cityName,provinceName,sum_commission,able_commission,sales_count
		showHtml();
		function showHtml(){
			$.ajax({
			type:"POST",
			url:"/qiaomengapp/shop/showHtml",
			dataType:"json",
			success:function(data){
				$('#li1').html(data.shopName);
				$('#i1').attr('src',data.shopTitleurl);
				$('#li2').html(data.cityName+"&nbsp;"+data.provinceName);
				$('#s1').html(data.sumCommission);
				$('#s2').html(data.ableCommission);
				$('#d1').html(data.sumCommission+"<br /><span>本月收入</span>");
				$('#d2').html(data.sumSaleCount+"<br /><span>本月销量</span>");

			}
		});
		}
		</script>
	</body>
</html>